// Realistic Unit Modification Assets Dialog
// v. Beta

// IDD and IDC

#define RUM_AHel_IDD 1040
#define RUM_BttnExit_IDC 1041
#define RUM_BttnAHel_IDC 1042
#define RUM_ListAHel_IDC 1043
#define RUM_BttnStrike_IDC 1044

// Main Dialog

class RUM_AHel
{
	idd = RUM_AHel_IDD;
	movingEnable = false;

	class controlsBackground {

		class RUM_BACKGRD: RUM_RscPic
		{
			x = 0.3;
			y = 0.0;
			w = 0.4;
			h = 0.9;
			text="RUM\Common\pda.paa";
		};

		class RUM_Screen: RUM_RscBackground
		{
			x = 0.3675;
			y = 0.079;
			w = 0.267;
			h = 0.481;
		};

		class RUM_Fahel: RUM_RscFrame
		{
			text = " ATTACK HELO REQUEST ";
			x = 0.3675;
			y = 0.08;
			w = 0.267;
			h = 0.485;
		};

	};

	// Controls -----------------------------
	
	class controls {
	
		class RUM_BttnClose: RUM_RscButton
		{
			idc = -1;
			colorText[] = { 1, 1, 1, 0 };
			colorFocused[] = { 1, 1, 1, 0 }; 
			colorDisabled[] = { 1, 1, 1, 0 }; 
			colorBackground[] = { 1, 1, 1, 0 };
			colorBackgroundDisabled[] = { 1, 1, 1, 0 }; 
			colorBackgroundActive[] = { 1, 1, 1, 0 }; 
			text = "E";
			x = 0.605;
			y = 0.68;
			w = 0.05;
			h = 0.05;
			action = "closeDialog 0";
		};

		class RUM_BttnAHel: RUM_BttnClose
		{
			idc = RUM_BttnExit_IDC;
			text = "C";
			x = 0.345;
			y = 0.68;
			w = 0.05;
			h = 0.05;
			action = "[] call RUM_BttnAHel";
		};

		class RUM_BttnStrike: RUM_RscToolbox
		{
			x = 0.37;
  			y = 0.52;
  			w = 0.26;
  			h = 0.03;

		  	rows = 1;
  			columns = 2;
  			strings[] = {"CAS","Station"};
 			values[] = {1,2};

  			onToolBoxSelChanged = "_this call RUM_BttnStrike";
		};

		class RUM_BttnStation1: RUM_ActText
		{
			x = 0.37;
  			y = 0.10;
  			w = 0.13;
  			h = 0.03;

			action = "RUM_AHEL_idleorstation = true;call RUM_AHel_Stationed";
			text = "IDLE";
			default = false;
		};

		class RUM_BttnStation2: RUM_ActText
		{
			x = 0.50;
  			y = 0.10;
  			w = 0.13;
  			h = 0.03;

			action = "RUM_AHEL_idleorstation = false;call RUM_AHel_Stationed";
			text = "STATIONED";
			default = false;
		};

	// Fxd ---------------------------------

		class RUM_ListAHelT: RUM_RscText
		{
			x = 0.37;
			y = 0.14;
			w = 0.26;
			h = 0.03;
			text="SELECT 'IDLE' AIRCRAFT";
		};

		class RUM_TypeAHelT: RUM_RscText
		{
			x = 0.37;
			y = 0.49;
			w = 0.26;
			h = 0.03;
			text="SELECT MISSION TYPE";
		};

		class RUM_ListFXD: RUM_RscListBox
		{
			idc = RUM_ListAHel_IDC;
			x = 0.37;
			y = 0.17;
			w = 0.26;
			h = 0.32;
		};

	};
};